package com.woniuxy.cloud.carl.order.infra.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户物流表
 * </p>
 *
 * @author Lucas
 * @since 2023-07-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_user_delivery")
public class UserDelivery implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 用户物流id
     */
    @TableId(value = "delivery_id", type = IdType.AUTO)
    private Long deliveryId;

    /**
     * 订单项id
     */
    private Long orderItemId;

    /**
     * 订单编号
     */
    private String orderNum;

    /**
     * 运单号
     */
    private String deliveryNo;

    /**
     * 运输公司
     */
    private String deliveryName;

    /**
     * 状态：0.运输中 1.已送达 
     */
    private Integer deliveryStatus;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 创建时间
     */
    private Date createDate;


}
